package com.ruoyi.his.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.his.domain.HisOutpatientQueue;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 患者队列表Mapper接口
 * 
 * @author ruoyi
 * @date 2021-11-05
 */
@Repository
public interface HisOutpatientQueueMapper 
{


    /**
     * 修改排队状态
     * @param data
     * @return
     */
    public int updateQueueStatus(Map data);








    /**
     * 新增患者队列表
     * 
     * @param hisOutpatientQueue 患者队列表
     * @return 结果
     */
    public int insertHisOutpatientQueue(HisOutpatientQueue hisOutpatientQueue);


    /**
     * 查询门诊队列注册id
     *
     * @param registerId 注册id
     * @return {@link HisOutpatientQueue}
     */
    public HisOutpatientQueue queryHisOutpatientQueueByRegisterId(String registerId);


    /**
     * 通过用户id查询门诊排队
     *
     * @param userId 用户id
     * @return {@link List}<{@link Map}<{@link String}, {@link Object}>>
     */
    public List<Map<String,Object>>  queryOutpatientQueueByUserId(String userId);



    public int updataOutpatientInfo(Map data);







}
